<?php require VIEW_PATH."/header.php";?>
<body>
	<form method="post">
    <input type="hidden" name="id" value="{{$field['id']}}">
        <table class="hd-table hd-table-form hd-form">
            <thead>
                <tr>
                    <td colspan="2">修改品牌</td>
                </tr>
            </thead>
            <tbody>
            <tr>
                <th>品牌名称</th>
                <td>
                    <input type="text" name="name" value="{{$field['name']}}" class="hd-w300">
                </td>
            </tr>
            <tr>
                <th>品牌LOGO</th>
                <td>
                    {{if value="$field['logo']"}}
                    <img src="{{$field['logo']}}" style="width:50px;">
                    <input type="text" name="logo" value="{{$field['logo']}}">
                    {{endif}}
                    <input type="file" name="logo" class="hd-w300">    
                </td>
            </tr>
            <tr>
                <th>属性</th>
                <td>
                    <input type="checkbox" name="hot" value="{{$field['hot']}}" class="hd-w50">热门
                </td>
            </tr>
            <tr>
                <th>描述</th>
                <td>
                    <textarea name="remark" class="hd-w300 hd-h100">{{$field['remark']}}</textarea>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <button class="hd-btn hd-btn-primary">提交</button>
                </td>
            </tr>
        </tbody>
    </table>
</form>
</body>
</html>